package com.huluobo.lc.a1803aretrofitrxdemo.network.response;

/**
 * @author Lc
 * @description: 通用的返回泛型
 * @date :2020/11/10 14:19
 */
public class Response<T> {
    private int ret;//返回的code
    private T data;//具体返回的数据结果
    private String msg; //message 可用来返回接口的说明

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
